The Queue-Read Queue-Write Asynchronous PRAM Model

نویسندگان

  • Phillip B. Gibbons
  • Yossi Matias
  • Vijaya Ramachandran
چکیده

This paper presents results for the queue-read, queue-write asynchronous parallel random access machine (qrqw asynchronous pram) model, which is the asynchronous variant of the qrqw pram model. The qrqw pram family of models, which was introduced earlier by the authors, permit concurrent reading and writing to shared memory locations, but each memory location is viewed as having a queue which can service at most one request at a time. In the basic qrqw pram model each processor executes a series of reads to shared memory locations, a series of local computation steps, and a series of writes to shared memory locations, and then synchronizes with all other processors; thus this can be viewed as a bulk-synchronous model. In contrast, in the qrqw asynchronous pram model discussed in this paper, there is no imposed bulk-synchronization between processors, and each processor proceeds at its own pace. Thus, the qrqw asynchronous pram serves as a better model for designing and analyzing truly asynchronous parallel algorithms than the original qrqw pram. In this paper we elaborate on the qrqw asynchronous pram model, and we demonstrate the power of asynchrony over bulk-synchrony by presenting a work and time optimal deterministic algorithm on the qrqw asynchronous pram for the leader election problem and a simple randomized work and time optimal algorithm on the qrqw asynchronous pram for sorting. In contrast, no tight bounds are known on the qrqw pram for either deterministic or randomized parallel algorithms for leader election and the only work and time optimal algorithms for sorting known on the qrqw pram are those inherited from the erew pram, which are considerably more complicated. Our sorting algorithm is an asynchronous version of an earlier sorting algorithm we developed for the qrqw pram, for which we use an interesting analysis to bound the running time to be O(lg n). We also present a randomized algorithm to simulate one step of a crcw pram on a qrqw asynchronous pram in sublogarithmic time if the maximum contention in the step is relatively small. Supported in part by NSF grant CCR/GER-90-23059 and Texas Advanced Research Projects Grant 003658386.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Queue - Read Queue - WriteAsynchronous PRAM

This paper presents results for the queue-read, queue-write asynchronous parallel random access machine (qrqw asynchronous pram) model, which is the asynchronous variant of the qrqw pram model. The qrqw pram family of models, which was introduced earlier by the authors, permit concurrent reading and writing to shared memory locations, but each memory location is viewed as having a queue which c...

متن کامل

The Queue-Read Queue-Write PRAM Model: Accounting for Contention in Parallel Algorithms

This paper introduces the queue-read queue-write (qrqw) parallel random access machine (pram) model, which permits concurrent reading and writing to shared-memory locations, but at a cost proportional to the number of readers/writers to any one memory location in a given step. Prior to this work there were no formal complexity models that accounted for the contention to memory locations, despit...

متن کامل

An Improved Lower Bound for the QRQW PRAM

The queue-read, queue-write (QRQW) parallel random access machine (PRAM) model is a shared memory model which allows concurrent reading and writing with a time cost proportional to the contention. This is designed to model currently available parallel machines more accurately than either the CRCW PRAM or EREW PRAM models. Here we present a lower bound for the problem of Linear Approximate Compa...

متن کامل

E cient Low Contention Parallel Algorithms

The queue read queue write qrqw parallel random access machine pram model permits concurrent reading and writing to shared memory locations but at a cost propor tional to the number of readers writers to any one memory location in a given step The qrqw pram model re#ects the contention properties of most commercially available par allel machines more accurately than either the well studied crcw...

متن کامل

Work-Optimal Asynchronous Algorithms for Shared Memory Parallel Computers

The queue-read queue-write asyn-chronous PRAM model. Parallel algorithms for shared-memory machines. The directory-based cache coherence protocol for the DASH multiprocessor.tion of a portable nested data-parallel language. 33 Proof. The lower bound for deterministic algorithms follows by the lower bound in BKK94] and Lemma 8.2 since the size of the input domain for the broadcasting problem is ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996